package server.mapper;

import java.util.Map;

/**
 * @author lyloou
 * @date 2020/07/06
 * @desc
 */
public class Host {
    private String name;
    private String port;
    private Map<String, Context> urlContextMap;

    public Host(String name, String port, Map<String, Context> urlContextMap) {
        this.name = name;
        this.port = port;
        this.urlContextMap = urlContextMap;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<String, Context> getUrlContextMap() {
        return urlContextMap;
    }

    public void setUrlContextMap(Map<String, Context> urlContextMap) {
        this.urlContextMap = urlContextMap;
    }
}
